package com.bajiao.vo.account;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 账单
 * @Author: FanJq
 * @Date: 2024-10-10
 * @Version: V1.0
 */
@Data
@ApiModel("AccountBillVO")
public class AccountBillVO {

    /**
     * 账单标题
     */
    @ApiModelProperty(value = "账单标题")
    private String title;

    /**
     * 变化金额
     */
    @ApiModelProperty(value = "变化金额")
    private BigDecimal changeMoney;

    @ApiModelProperty(value = "变化金额(前端展示)")
    private String changeMoneyStr;

    /**
     * 1-收入 2-支出
     */
    @ApiModelProperty(value = "1-收入 2-支出")
    private Integer billType;

    /**
     * 标志符 + -
     */
    @ApiModelProperty(value = "标志符 + -")
    private String sign;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    @ApiModelProperty(value = "订单编号")
    private String orderNo;

}
